﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetFrameworkExtensions.Enterprise.Security
{
  [Serializable]
  public class DbGuidIdentity<TIdentity> :
    DbIdentity<TIdentity, Guid>
    where TIdentity : DbGuidIdentity<TIdentity>
  {
    public DbGuidIdentity(Guid userId, string name, string authenticationType)
      : base(userId, name, authenticationType)
    {
    }

    public DbGuidIdentity()
    {
    }
  }

  [Serializable]
  public class DbGuidIdentity :
    DbGuidIdentity<DbGuidIdentity>
  {
    public DbGuidIdentity(Guid userId, string name, string authenticationType)
      : base(userId, name, authenticationType)
    {
    }

    public DbGuidIdentity()
    {
    }
  }

}
